package com.jiyun.service.impl;

import com.jiyun.entity.pojo.Homepage;
import com.jiyun.mapper.HomepageMapper;
import com.jiyun.service.HomepageService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * (Homepage)表服务实现类
 *
 * @author LYT
 * @since 2025-01-16 18:36:13
 */
@Service("homepageService")
public class HomepageServiceImpl extends ServiceImpl<HomepageMapper, Homepage>
        implements HomepageService {
    @Autowired
    private HomepageMapper homepageMapper;

    @Override
    public List<Homepage> findPrice() {
        return homepageMapper.findPrice();
    }

    @Override
    public List<Homepage> findChoose() {
        return homepageMapper.findChoose();
    }

    @Override
    public List<Homepage> selectOrder(Integer[] id) {
        return homepageMapper.selectOrder(id);
    }

    @Override
    public List<Homepage> findPage(Integer id) {
        return homepageMapper.findPage(id);
    }
}
